package com.pay.service;

import com.pay.dto.BusinessDto;
import com.pay.dto.ResponseEntity;
import com.pay.dto.VerifyDto;
import com.pay.entity.TbBusiness;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface TbBusinessService extends IService<TbBusiness> {

    ResponseEntity checkNameAndPhone(VerifyDto verifyDto);

    ResponseEntity checkIdentity(VerifyDto verifyDto);

    ResponseEntity checkAccount(VerifyDto verifyDto);

    ResponseEntity checkLicense(VerifyDto verifyDto);

    ResponseEntity saveBusiness(BusinessDto businessDto);

    ResponseEntity updateState(BusinessDto businessDto, String token);

    ResponseEntity updateMoneyState(BusinessDto businessDto, String token);

    ResponseEntity searchBusinessList();
}
